import * as React from 'react';
import * as ReactDOM from "react-dom";
import './self-adaption-base-font-size'
import "./global.scss";
import {store} from '@/config/store/redux.config';
import routes from "@/config/router/router.config";
import {Provider} from "react-redux";
import {RenderHashRoutes} from "central-react-router";

var mountNode = document.getElementById("app");

ReactDOM.render(<Provider store={store}>
    <RenderHashRoutes routes={routes}/>
</Provider>, mountNode);

// ReactDOM.render(<RenderRoutes routes={routes}/>, mountNode);
